package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Brand;
import com.atguigu.spzx.model.entity.product.CategoryBrand;
import com.atguigu.spzx.model.vo.product.CategoryBrandVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LT
 * @create 2024-03-17-17:06
 */
@Mapper
public interface CategoryBrandMapper {

    List<CategoryBrandVo> selectPage(CategoryBrand categoryBrand);

    void save(CategoryBrand categoryBrand);

    void delete(List<Long> asList);

    CategoryBrand getById(Long id);

    void update(CategoryBrand categoryBrand);

    List<Brand> selectBrandsByC3id(Long categoryId);

}
